golang.org/x/crypto/sha3.state.rate (field)

25 uses

	golang.org/x/crypto/sha3 (current package)
		hashes.go#L22: 	return &state{rate: 144, outputLen: 28, dsbyte: 0x06}
		hashes.go#L32: 	return &state{rate: 136, outputLen: 32, dsbyte: 0x06}
		hashes.go#L42: 	return &state{rate: 104, outputLen: 48, dsbyte: 0x06}
		hashes.go#L52: 	return &state{rate: 72, outputLen: 64, dsbyte: 0x06}
		hashes.go#L59: func NewLegacyKeccak256() hash.Hash { return &state{rate: 136, outputLen: 32, dsbyte: 0x01} }
		hashes.go#L65: func NewLegacyKeccak512() hash.Hash { return &state{rate: 72, outputLen: 64, dsbyte: 0x01} }
		sha3.go#L27: 	rate int        // the number of bytes of state to use
		sha3.go#L51: func (d *state) BlockSize() int { return d.rate }
		sha3.go#L72: 		ret.buf = ret.storage.asBytes()[d.rate-cap(d.buf) : d.rate]
		sha3.go#L92: 		d.buf = d.storage.asBytes()[:d.rate]
		sha3.go#L109: 	d.buf = d.storage.asBytes()[:d.rate]
		sha3.go#L110: 	for i := zerosStart; i < d.rate; i++ {
		sha3.go#L116: 	d.buf[d.rate-1] ^= 0x80
		sha3.go#L120: 	d.buf = d.storage.asBytes()[:d.rate]
		sha3.go#L136: 		if len(d.buf) == 0 && len(p) >= d.rate {
		sha3.go#L138: 			xorIn(d, p[:d.rate])
		sha3.go#L139: 			p = p[d.rate:]
		sha3.go#L143: 			todo := d.rate - len(d.buf)
		sha3.go#L151: 			if len(d.buf) == d.rate {
		shake.go#L85: 	c := cshakeState{state: &state{rate: rate, dsbyte: dsbyte}}
		shake.go#L93: 	c.Write(bytepad(c.initBlock, c.rate))
		shake.go#L100: 	c.Write(bytepad(c.initBlock, c.rate))
		shake.go#L122: 	return &state{rate: rate128, dsbyte: dsbyteShake}
		shake.go#L132: 	return &state{rate: rate256, dsbyte: dsbyteShake}